package com.taglab.chic.search;

/**
 * @author Markus Kobler
 */
public class SearchResult {
  
  private String title;

  private String description;

  private String url;

  public SearchResult(String title, String description, String url) {
    this.title = title;
    this.description = description;
    this.url = url;
  }

  public String getTitle() {
    return title;
  }

  public String getDescription() {
    return description;
  }

  public String getUrl() {
    return url;
  }


  public String toLongString() {
    final StringBuilder sb = new StringBuilder();
    sb.append("SearchResult");
    sb.append("{title='").append(title).append('\'');
    sb.append(", description='").append(description).append('\'');
    sb.append(", url='").append(url).append('\'');
    sb.append('}');
    return sb.toString();
  }
}
